package com.yqg.manage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * problem_notification 实体类
 *
 * @author zxf
 * @since 2025-08-06
 */
@Getter
@Setter
@TableName("problem_notification")
@ApiModel(value = "ProblemNotification对象", description = "发现门前五包的问题通知")
public class ProblemNotification implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty("执法人员ID")
    private Long lawEnforcementOfficers;

    @ApiModelProperty("商户信息ID")
    private Long placeId;

    @ApiModelProperty("问题描述")
    private String problem;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;

    @ApiModelProperty("是否通知到商户（0：未通知，1：已通知）")
    private String status;

    @ApiModelProperty("备注")
    private String notes;

    @ApiModelProperty("商户是否提交检查记录表（0：未提交，1：已提交）")
    private String process;

    @ApiModelProperty("是否删除")
    private String isDelete;

    @ApiModelProperty("商户公司名称")
    @TableField(exist = false)
    private String companyName;

    @ApiModelProperty("营业执照")
    @TableField(exist = false)
    private String companyLicense;

    /**
     * 企业类型
     */
    @TableField(exist = false)
    private String enterpriseType;
}
